//
//  constants.h
//  chuiniu
//
//  Created by zheng ji on 14-8-9.
//  Copyright (c) 2014年 jxw. All rights reserved.
//
#define IsIPhone UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone

#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define RGB(r,g,b) RGBA(r,g,b,1.0f)
#define IsIOS7 ([[[[UIDevice currentDevice] systemVersion] substringToIndex:1] intValue]>=7)
#ifndef chuiniu_constants_h
#define chuiniu_constants_h



#endif
